package io;

import java.io.Serializable;
/**
 * 实现具有序列化能力的类
 * @author fusong
 *
 */
public class Students implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1138722842234282425L;
	private Person p1 = new Person("lifusong", 34);
	private Person p2 = new Person("xuwei", 33);
	private Person p3 = new Person("ranran", 2);
	
	public Students(){
		
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "p1：" + p1 + "  p2：" + p2 + "  p3：" + p3;
	}
	
	
}
